package com.cddx.logistics.mapper;

import com.cddx.logistics.domain.dto.VehicleQueryDTO;
import com.cddx.logistics.domain.pojo.Vehicle;
import com.cddx.logistics.domain.vo.VehicleVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface VehicleMapper {
    List<VehicleVO> queryPage(VehicleQueryDTO queryDTO);
    int add(Vehicle vehicle);
    int update(Vehicle vehicle);
    int delete(Integer id);
    int batchDelete(List<Integer> ids);
}
